package com.app.biz.service;



import java.util.List;
import com.app.biz.domain.formal.BizDailyPowerConsumption;
import com.app.common.core.domain.AjaxResult;

/**
 * 每天耗电量Service接口
 *
 * @author ruoyi
 * @date 2024-01-22
 */
public interface IBizDailyPowerConsumptionService
{
    /**
     * 查询每天耗电量
     *
     * @param baseId 每天耗电量主键
     * @return 每天耗电量
     */
    public BizDailyPowerConsumption selectBizDailyPowerConsumptionByBaseId(String baseId);

    /**
     * 查询每天耗电量列表
     *
     * @param bizDailyPowerConsumption 每天耗电量
     * @return 每天耗电量集合
     */
    public List<BizDailyPowerConsumption> selectBizDailyPowerConsumptionList(BizDailyPowerConsumption bizDailyPowerConsumption);

    /**
     * 新增每天耗电量
     *
     * @param bizDailyPowerConsumption 每天耗电量
     * @return 结果
     */
    public int insertBizDailyPowerConsumption(BizDailyPowerConsumption bizDailyPowerConsumption);

    /**
     * 修改每天耗电量
     *
     * @param bizDailyPowerConsumption 每天耗电量
     * @return 结果
     */
    public int updateBizDailyPowerConsumption(BizDailyPowerConsumption bizDailyPowerConsumption);

    /**
     * 批量删除每天耗电量
     *
     * @param baseIds 需要删除的每天耗电量主键集合
     * @return 结果
     */
    public int deleteBizDailyPowerConsumptionByBaseIds(String[] baseIds);

    /**
     * 删除每天耗电量信息
     *
     * @param baseId 每天耗电量主键
     * @return 结果
     */
    public int deleteBizDailyPowerConsumptionByBaseId(String baseId);

    /**
     * 更新或者是插入每天的耗电量
     * @param bizDailyPowerConsumption
     * @return
     */
    AjaxResult insertOrUpdateDay(BizDailyPowerConsumption bizDailyPowerConsumption);

    AjaxResult insertPowerDay(BizDailyPowerConsumption bizDailyPowerConsumption);

    AjaxResult updatePowerDay(BizDailyPowerConsumption bizDailyPowerConsumption);

}
